TEAutoView
TEAutoView Enable or disable automatic scrolling
#include <TextEdit.h> TextEdit
void TEAutoView( scrollFlag, hTE );
Boolean scrollFlag; Enable automatic scrolling?
TEHandle hTE; handle of an edit record
TEAutoView enables or disables automatic scrolling of the specified
edit record.
scrollFlag is a Boolean value which enables or disables automatic scrolling. It
is one of:
FALSE Disable automatic scrolling. Calling TEAutoView will
have no effect and dragging the cursor below or above
the viewRect will not extend the selection beyond
what's visible.
TRUE Enable automatic scrolling.
hTE is a handle obtained via TENew or TEStylNew. It leads to a
variable-length TERec structure and identifies the edit record to be
deactivated.
Returns: none

Notes: By default, TEAutoView is FALSE, so if you don't set it to
TRUE, Text Edit behaves as with the 64K ROMs (you'll need a custom
clikLoop routine (SetClikLoop) and you'll need to manually locate and
display the selection range instead of calling TESelView).
When enabled, automatic scrolling can occur in response to TESelView,
TEKey, TEPaste, TEDelete, and TESetSelect.